@import "../styles/mixin/index.scss";

$logoWeight: calc(128px);
$navbarHeight: 55px;

.clearFix::after {
  display: block;
  content: '';
  clear: both;
}

.w {
  width: var(--vp-screen-max-width);
  margin: 0 auto;
}


.vt-app {
  // &__header {
  //   height: 48px;
  // }

  // &__nav {
  //   margin-top: 20px;
  //   text-align: center;
  // }

  &__item {
    margin: 0 10px;
  }

  &__view {
    padding: 10px;
  }
}

.vt-view {
  // &__container {}

  &__row-title,
  &__row {
    margin: 10px 0;
  }

  &__row-title {
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
  }

  &__row {
    text-align: center;
    display: flex;
    justify-content: space-around;
  }
}


.vt-navbar {
  &__container {
    height: $navbarHeight;
    width: 100%;
    border-bottom: 1px solid var(--vt-color-info-light-7);
    line-height: $navbarHeight;
  }

  &__wrapper {
    @include horizontalCentering();
    height: inherit;
    display: flex;
  }

  &__logo {
    width: $logoWeight;
    height: 100%;
    font-size: 20px;
    text-align: center;

    img {
      width: 100%;
      height: 100%;
      object-fit:fill;
    }
  }

  &__content {
    display: flex;
    width: calc(100% - $logoWeight);
    justify-content: flex-end;
    align-items: center;
  }

  &__item {
    height: $navbarHeight;
    line-height: $navbarHeight;
    cursor: pointer;
    padding: 0 10px;

    &:hover {
      color: var(--vt-color-primary);
    }
  }

}

.vt-layout {
  &__main {
    @include horizontalCentering();
    // display: flex;
    padding: 20px 10px;
  }

  &__sidebar {
    float: left;
  }

  &__sidebar {
    width: var(--vp-sidebar-width-small);
  }

  &__content {
    margin-left: var(--vp-sidebar-width-small);
  }
}

.vt-sidebar {
  &__item {
    color: var(--vt-text-color-regular);
    font-weight: 700;
    margin-bottom: 16px;
  }
}